import request from '@/utils/request'

// 查询技师工资奖惩列表
export function listZyTechnicianMonthDeduct(query) {
  return request({
    url: '/system/ZyTechnicianMonthDeduct/list',
    method: 'get',
    params: query
  })
}

// 查询技师工资奖惩详细
export function getZyTechnicianMonthDeduct(id) {
  return request({
    url: '/system/ZyTechnicianMonthDeduct/' + id,
    method: 'get'
  })
}

// 新增技师工资奖惩
export function addZyTechnicianMonthDeduct(data) {
  return request({
    url: '/system/ZyTechnicianMonthDeduct',
    method: 'post',
    data: data
  })
}

// 修改技师工资奖惩
export function updateZyTechnicianMonthDeduct(data) {
  return request({
    url: '/system/ZyTechnicianMonthDeduct',
    method: 'put',
    data: data
  })
}

// 删除技师工资奖惩
export function delZyTechnicianMonthDeduct(id) {
  return request({
    url: '/system/ZyTechnicianMonthDeduct/' + id,
    method: 'delete'
  })
}
